Release 10.1A: OpenEdge Data Management:
DataServer for Microsoft SQL Server
Locking impact on queries
The DataServer processes query statements marked with
Note: There is an exception to the previous statement; queries markedSHARE-LOCKandEXCLUSIVE-LOCKqueries very differently fromNO-LOCKqueries.SHARE-LOCKwhen the record isolation level is read uncommitted are treated like aNO-LOCK.The records of a
NO-LOCKquery are pre-fetched, which means that changes to the result set after the query has been executed are unknown. Records modified in the database after the query is established will not be reflected in the result set.SHARE-LOCKandEXCLUSIVE-LOCKqueries do not pre-fetch records, but do preselect record keys. The query behavior is that of a “keyset-driven” cursor. Since the record keys are stored at the time the 4GL query is first executed, new records added to the database since the key list was established are not included in the query result set. However, records that have been deleted or modified in the database will be reflected in the query results as records are accessed by the application.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |